<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<script type="text/javascript" src="${basePath}/scripts/script.js"></script>
	<div id="sidebar">
	<div class="sidebar">
    	<form class="quick_search">
        	<input type="text" id="search_key" name="search_key" value="搜索任务..."/>
    	</form>
        <hr/>
        <h3>
        	团队
            <a href="#" class="toggleLink">hide</a>
        </h3>
        <ul class="toggle">
        	<li class="view_users">
            	<a href="user.jspx">所有成员</a>
            </li>
        </ul>
         <h3>
        	项目
            <a href="#" class="toggleLink">hide</a>
        </h3>
        <ul class="toggle" id="projectList">
        </ul>     
        <script type="text/javascript">
        	$(document).ready(function(){
        		$.getJSON("${basePath}/project!ajaxList.jspx",function(json){
        			$(json).each(function(){
        				$("#projectList").append('<li class="icn_tags"><a href="project!get.jspx?id='+this.id+'">'+this.projectName+'</a></li>');
        			});
        		});
        	});
        </script>   
         <h3>
        	账号
            <a href="#" class="toggleLink">hide</a>
        </h3>
        <ul class="toggle">
       	  <li class="icn_settings"><a href="#">账号设置</a></li>
        </ul>    
        <ul class="toggle">
       	  <li class="icn_security"><a href="project!count.jspx">数据统计</a></li>
        </ul>    
        <ul class="toggle">
       	  <li class="icn_jump_back"><a href="main!exit.jspx">安全退出</a></li>
        </ul>    
    </div>
    <hr/>
    <div class="footer">
    	<p>
        	<strong>Copyright &copy;2011 project mine</strong>
         </p>
         <p>
         	<a href="#">获取源代码</a>
            |
         	<a href="#">作者博客</a>
         </p>
    </div>
    </div>